// Copyright (C), 2012-2018, Sichuan Xiaoka Technology Co., Ltd.
package com.examination.client.util;

import javax.net.ssl.X509TrustManager;
import java.security.cert.X509Certificate;

/**空证书类.
 * @author zhangpeng
 *
 */
public class MyX509TrustManager implements X509TrustManager {

  @Override
  public void checkClientTrusted(X509Certificate[] chain, String authType) {
  }

  @Override
  public void checkServerTrusted(X509Certificate[] chain, String authType) {
  }

  @Override
  public X509Certificate[] getAcceptedIssuers() {
    return null;
  }
}
